File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
services/static-webserver/client/source/class/osparc/conversation Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -125,23 +125,7 @@ qx.Class.define("osparc.conversation.MessageUI", {
125125 lastUpdate . setValue ( date2 ) ;
126126
127127 const messageContent = this . getChildControl ( "message-content" ) ;
128- if ( this . __message [ "type" ] === "NOTIFICATION" ) {
129- const userGroupId = parseInt ( this . __message [ "content" ] ) ;
130- messageContent . setValue ( "🔔 " + this . tr ( "Notified" ) + ": " ) ;
131- osparc . store . Users . getInstance ( ) . getUser ( userGroupId )
132- . then ( user => {
133- if ( user ) {
134- messageContent . setValue ( messageContent . getValue ( ) + user . getLabel ( ) ) ;
135- } else {
136- messageContent . setValue ( messageContent . getValue ( ) + userGroupId ) ;
137- }
138- } )
139- . catch ( ( ) => {
140- messageContent . setValue ( messageContent . getValue ( ) + userGroupId ) ;
141- } ) ;
142- } else if ( this . __message [ "type" ] === "MESSAGE" ) {
143- messageContent . setValue ( this . __message [ "content" ] ) ;
144- }
128+ messageContent . setValue ( this . __message [ "content" ] ) ;
145129
146130 osparc . store . Users . getInstance ( ) . getUser ( this . __message [ "userGroupId" ] )
147131 . then ( user => {
You can’t perform that action at this time.
0 commit comments