explicitly ignore "upd" presence updates

This commit is contained in:
or-else
2019-11-01 09:39:05 +03:00
parent a1894871aa
commit 92b9faa063
+3 -2
View File
@@ -588,11 +588,12 @@ class TinodeWeb extends React.Component {
this.setState({topicSelectedAcs: cont.acs});
}
} else if (what == 'del') {
// messages deleted (hard or soft) -- update pill counter.
// TODO: messages deleted (hard or soft) -- update pill counter.
} else if (what == 'upd') {
// upd - handled by the SDK. Explicitly ignoring here.
} else {
// TODO(gene): handle other types of notifications:
// * ua -- user agent changes (maybe display a pictogram for mobile/desktop).
// * upd -- topic 'public' updated, issue getMeta().
console.log("Unsupported (yet) presence update:" + what + " in: " + cont.topic);
}
}