don't check message queue if message is type buddylist as to not conflict with `SBE`

This commit is contained in:
Alan Moon 2025-03-18 12:49:05 -07:00
parent 80c55b4317
commit 583bc04c1a

View File

@ -77,8 +77,11 @@ public class MessagingService
ctx.SaveChanges();
// update receiving users messages
mMOClientService.SendCommandToUser(toViking.Uid.ToString(), "SPMN", new string[] { "SPMN" });
mMOClientService.SendCommandToUser(toViking.Uid.ToString(), "NMP", new string[] { "NMP", "-1", "1", "1" });
if (messageTypeID != MessageTypeID.BuddyList) // probably shouldn't recheck message queue for buddylist messages
{
mMOClientService.SendCommandToUser(toViking.Uid.ToString(), "SPMN", new string[] { "SPMN" });
mMOClientService.SendCommandToUser(toViking.Uid.ToString(), "NMP", new string[] { "NMP", "-1", "1", "1" });
}
// return constructed message
return message;