mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-19 19:04:39 -04:00
Added utility function containsBingWord and hook up some css to it.
This commit is contained in:
parent
a402e0c5e6
commit
b36a0c71d1
3 changed files with 46 additions and 31 deletions
|
@ -105,7 +105,7 @@
|
|||
|
||||
<span ng-show='msg.content.msgtype === "m.text"'
|
||||
class="message"
|
||||
ng-class="msg.echo_msg_state"
|
||||
ng-class="containsBingWord(msg.content.body) ? msg.echo_msg_state + ' messageBing' : msg.echo_msg_state"
|
||||
ng-bind-html="((msg.content.msgtype === 'm.text') ? msg.content.body : '') | linky:'_blank'"/>
|
||||
|
||||
<span ng-show='msg.type === "m.call.invite" && msg.user_id == state.user_id'>Outgoing Call</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue