diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-13 14:31:48 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-13 14:31:48 +0100 |
commit | 55944ccf72882ae83dcf17a8013c63c49e51581d (patch) | |
tree | d90dad63a3af61032c6b10934d1b09aba9cee3fa /webclient/room/room.html | |
parent | verbose by default please (diff) | |
download | synapse-55944ccf72882ae83dcf17a8013c63c49e51581d.tar.xz |
Use strings instead of opaque magic-number constants for presence states; rename AWAY to UNAVAILABLE
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 9cd1ec3645..5de2190b8b 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -14,7 +14,7 @@ <img class="userAvatarGradient" src="img/gradient.png" width="80" height="24"/> <div class="userName">{{ info.displayname || name }}</div> </td> - <td class="userPresence" ng-class="info.presenceState === 'online' ? 'online' : (info.presenceState === 'away' ? 'away' : '')" /> + <td class="userPresence" ng-class="info.presenceState === 'online' ? 'online' : (info.presenceState === 'unavailable' ? 'unavailable' : '')" /> </table> </div> |