heavyrain.lee 5 years ago
parent
commit
aba4cae9c7

+ 3 - 2
wfchat/WildFireChat/WFCConfig.m

@@ -9,11 +9,12 @@
 #import "WFCConfig.h"
 
 //可以是IP,可以是域名,如果是域名的话只支持主域名或www域名或im或imtest的二级域名,其它二级域名不支持!
-//例如:example.com或www.example.com或im.example.com或imtest.example.com是支持的;xx.example.com或xx.yy.example.com是不支持的。如果是专业版必须用域名。
+//例如:example.com或www.example.com或im.example.com或imtest.example.com是支持的;xx.example.com或xx.yy.example.com是不支持的。如果是专业版必须用域名,社区版建议也用域名
 NSString *IM_SERVER_HOST = @"wildfirechat.cn";
 
 
-//正式商用时,建议用https,确保token安全
+// App Server默认使用的是8888端口,替换为自己部署的服务时需要注意端口别填错了
+// 正式商用时,建议用https,确保token安全
 NSString *APP_SERVER_ADDRESS = @"http://wildfirechat.cn:8888";
 //NSString *APP_SERVER_ADDRESS = @"https://app.wildfirechat.cn";
 

+ 1 - 1
wfuikit/WFChatUIKit/MessageList/ViewController/WFCUMessageListViewController.m

@@ -1262,7 +1262,7 @@
         if (self.collectionView.frame.size.height != newFrame.origin.y) {
             dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(duration * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                 self.collectionView.frame = CGRectMake(0, 0, self.backgroundView.bounds.size.width, newFrame.origin.y);
-                [self scrollToBottom:NO];
+                [self scrollToBottom:YES];
             });
         }
     }