Merge pull request #378 from BeaudanBrown/typing-friend-request

Also don't send typing messages for people we aren't friends with
pull/382/head
Beaudan Campbell-Brown 6 years ago committed by GitHub
commit b5c232f54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -208,8 +208,8 @@
},
bumpTyping() {
// We don't send typing messages if the setting is disabled
if (!storage.get('typing-indicators-setting')) {
// We don't send typing messages if the setting is disabled or we aren't friends
if (!this.isFriend() || !storage.get('typing-indicators-setting')) {
return;
}

Loading…
Cancel
Save