Sort by inbox position to match phone after link
This commit is contained in:

committed by
Scott Nonnenberg

parent
1f5cb9e8af
commit
4830213a12
@@ -134,6 +134,7 @@
|
||||
!this.isUnsupportedMessage() &&
|
||||
!this.isExpirationTimerUpdate() &&
|
||||
!this.isKeyChange() &&
|
||||
!this.isMessageHistoryUnsynced() &&
|
||||
!this.isVerifiedChange() &&
|
||||
!this.isGroupUpdate() &&
|
||||
!this.isEndSession()
|
||||
@@ -147,6 +148,11 @@
|
||||
type: 'unsupportedMessage',
|
||||
data: this.getPropsForUnsupportedMessage(),
|
||||
};
|
||||
} else if (this.isMessageHistoryUnsynced()) {
|
||||
return {
|
||||
type: 'linkNotification',
|
||||
data: null,
|
||||
};
|
||||
} else if (this.isExpirationTimerUpdate()) {
|
||||
return {
|
||||
type: 'timerNotification',
|
||||
@@ -343,6 +349,9 @@
|
||||
isVerifiedChange() {
|
||||
return this.get('type') === 'verified-change';
|
||||
},
|
||||
isMessageHistoryUnsynced() {
|
||||
return this.get('type') === 'message-history-unsynced';
|
||||
},
|
||||
isGroupUpdate() {
|
||||
return !!this.get('group_update');
|
||||
},
|
||||
|
Reference in New Issue
Block a user