Skip to content

Commit

Permalink
make chat summarise work with converse.js
Browse files Browse the repository at this point in the history
  • Loading branch information
deleolajide committed Oct 22, 2024
1 parent dbb7a51 commit cf05b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dist/converse.js
Original file line number Diff line number Diff line change
Expand Up @@ -24734,7 +24734,7 @@ const ChatRoomMixin = {
*/
isUserMentioned(message) {
const nick = this.get('nick');
if (message.get('references').length) {
if (message.get('references')?.length) {
const mentions = message.get('references').filter(ref => ref.type === 'mention').map(ref => ref.value);
return mentions.includes(nick);
} else {
Expand Down
1 change: 1 addition & 0 deletions docs/pade.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf05b84

Please sign in to comment.