Merge branch 'master' into bug/unread_pinmessage

pull/1154/head
teamabron 2025-02-08 13:47:17 +03:30 committed by GitHub
commit c936704ee0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -93,7 +93,7 @@ export const PinMessageBox = observer(
let children = null;
let userName = message.client ? message.client.user?.username : ""
let userName = message.client ? message.system.by_username : ""
if (data.type as string == "message_pinned") {

View File

@ -164,8 +164,6 @@ export default observer(({ last_id, renderer, highlight }: Props) => {
previous.masquerade,
);
}
// console.log(renderer.messages[i].content, 7979)
if (message.system?.type as any == "message_pinned" || message.system?.type as any == "message_unpinned") {
render.push(