mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-09-25 21:23:37 +00:00
Show send failure feedback without message lookup
This commit is contained in:
@@ -14,7 +14,18 @@ void ChatDeliveryFeedbackController::onChatSendResult(
|
||||
bool success,
|
||||
const chat::ChatMessage* message)
|
||||
{
|
||||
if (msg_id == 0 || message == nullptr || message->from != 0)
|
||||
if (msg_id == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (message == nullptr)
|
||||
{
|
||||
if (success)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (message->from != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user