Merge branch 'wildfirechat' of https://github.com/wildfirechat/server into wildfirechat

This commit is contained in:
heavyrain2012
2021-04-03 14:27:20 +08:00
5 changed files with 26 additions and 7 deletions
@@ -201,7 +201,7 @@ public class UploadFileAction extends Action {
return false;
}
if (remoteFileSize > 50 * 1024 * 1024) {
if (remoteFileSize > 200 * 1024 * 1024) {
logger.warn("file over limite!(" + remoteFileSize + ")");
response.setStatus(HttpResponseStatus.BAD_REQUEST);
response.setContent("file over limite!");
@@ -44,6 +44,8 @@ public class ModifyGroupInfoHandler extends GroupHandler<WFCMessage.ModifyGroupI
content = new GroupNotificationBinaryContent(request.getGroupId(), fromUser, request.getValue(), "").getChangeGroupPrivatechatNotifyContent();
} else if(request.getType() == Modify_Group_Searchable) {
content = new GroupNotificationBinaryContent(request.getGroupId(), fromUser, request.getValue(), "").getChangeGroupSearchableNotifyContent();
} else if(request.getType() == Modify_Group_Extra) {
content = new GroupNotificationBinaryContent(request.getGroupId(), fromUser, request.getValue(), "").getChangeGroupExtraNotifyContent();
}
if (content != null) {