mirror of https://github.com/vector-im/riot-web
Merge pull request #438 from matrix-org/rav/matrix_dev_hack
Show something when we see a no-op join eventpull/21833/head
commit
8e9c04e1aa
|
@ -62,6 +62,9 @@ function textForMemberEvent(ev) {
|
|||
return senderName + " changed their profile picture";
|
||||
} else if (!ev.getPrevContent().avatar_url && ev.getContent().avatar_url) {
|
||||
return senderName + " set a profile picture";
|
||||
} else {
|
||||
// hacky hack for https://github.com/vector-im/vector-web/issues/2020
|
||||
return senderName + " rejoined the room.";
|
||||
}
|
||||
} else {
|
||||
if (!ev.target) console.warn("Join message has no target! -- " + ev.getContent().state_key);
|
||||
|
|
Loading…
Reference in New Issue