mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix dm room name
This commit is contained in:
@@ -3,7 +3,7 @@ import { RoomService } from './room.service';
|
||||
import { WsChatService } from 'src/app/services/chat/ws-chat.service';
|
||||
import { MessageService } from 'src/app/services/chat/message.service'
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
|
||||
import { capitalizeTxt } from 'src/plugin/text'
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
@@ -101,7 +101,7 @@ export class WsChatMethodsService {
|
||||
return name != SessionStore.user.RochetChatUser
|
||||
})[0]
|
||||
|
||||
return roomName
|
||||
return capitalizeTxt(roomName.split('.')[0]) + ' ' + capitalizeTxt(roomName.split('.')[1])
|
||||
} else {
|
||||
return roomData.fname
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user