fix: 메시지 보러가기를 누르더라도 이미 읽음 처리를 해야함

This commit is contained in:
2023-03-19 12:56:55 +09:00
parent 69fbbbb51a
commit a79585f8de
+3 -1
View File
@@ -276,7 +276,8 @@ function _updateLatestMsg(msg: MsgItem) {
"새로운 개인 메시지가 도착했습니다.",
(type, e)=>{
if(type === 'goto'){
scrollToSelector('.PrivateTalk > .stickyAnchor')
readLatestMsg('private');
scrollToSelector('.PrivateTalk > .stickyAnchor');
return;
}
if(type === 'ignore'){
@@ -309,6 +310,7 @@ function _updateLatestMsg(msg: MsgItem) {
"새로운 외교 메시지가 도착했습니다.",
(type, e)=>{
if(type === 'goto'){
readLatestMsg('diplomacy');
scrollToSelector('.DiplomacyTalk > .stickyAnchor')
return;
}