fix modify group notification timestamp issue

This commit is contained in:
heavyrain2012
2019-04-04 07:39:41 +08:00
parent e3e122edc4
commit 8ef92d0c1b
9 changed files with 13 additions and 41 deletions
@@ -240,10 +240,10 @@ abstract public class IMHandler<T> {
}
protected long saveAndPublish(String username, String clientID, WFCMessage.Message message, long timestamp) {
protected long saveAndPublish(String username, String clientID, WFCMessage.Message message) {
Set<String> notifyReceivers = new LinkedHashSet<>();
message = m_messagesStore.storeMessage(username, clientID, message, timestamp);
message = m_messagesStore.storeMessage(username, clientID, message);
int pullType = m_messagesStore.getNotifyReceivers(username, message, notifyReceivers);
this.publisher.publish2Receivers(message, notifyReceivers, clientID, pullType);
return message.getMessageId();