This commit is contained in:
or-else
2019-02-28 13:57:29 +03:00
parent a042db27e8
commit 0f13f2edb9
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -2847,7 +2847,7 @@ var MessagesView = function (_React$Component) {
var status = topic.msgStatus(msg); var status = topic.msgStatus(msg);
if (status >= tinode_sdk__WEBPACK_IMPORTED_MODULE_2___default.a.MESSAGE_STATUS_SENT) { if (status >= tinode_sdk__WEBPACK_IMPORTED_MODULE_2___default.a.MESSAGE_STATUS_SENT && msg.from != this.props.myUserId) {
this.props.readTimerHandler(function () { this.props.readTimerHandler(function () {
topic.noteRead(msg.seq); topic.noteRead(msg.seq);
}); });
@@ -4602,7 +4602,7 @@ var TinodeWeb = function (_React$Component) {
var topic = this.tinode.getTopic(data.topic); var topic = this.tinode.getTopic(data.topic);
if (topic.msgStatus(data) >= tinode_sdk__WEBPACK_IMPORTED_MODULE_5___default.a.MESSAGE_STATUS_SENT) { if (topic.msgStatus(data) >= tinode_sdk__WEBPACK_IMPORTED_MODULE_5___default.a.MESSAGE_STATUS_SENT && data.from != this.state.myUserId) {
clearTimeout(this.receivedTimer); clearTimeout(this.receivedTimer);
this.receivedTimer = setTimeout(function () { this.receivedTimer = setTimeout(function () {
_this9.receivedTimer = undefined; _this9.receivedTimer = undefined;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long