Skip to content

Commit

Permalink
[Core] Fix image in the forward does not have a url (#568)
Browse files Browse the repository at this point in the history
* [Core] Fix image in the forward does not have a url

* remove some thing
  • Loading branch information
DarkRRb authored Aug 30, 2024
1 parent 2e1f19c commit 188086e
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ namespace Lagrange.Core.Internal.Context.Logic.Implementation;
[EventSubscribe(typeof(FriendSysRequestEvent))]
[EventSubscribe(typeof(FriendSysPokeEvent))]
[EventSubscribe(typeof(LoginNotifyEvent))]
[EventSubscribe(typeof(MultiMsgDownloadEvent))]
[BusinessLogic("MessagingLogic", "Manage the receiving and sending of messages and notifications")]
internal class MessagingLogic : LogicBase
{
Expand Down Expand Up @@ -210,6 +211,18 @@ public override async Task Incoming(ProtocolEvent e)
Collection.Invoker.PostEvent(deviceArgs);
break;
}
case MultiMsgDownloadEvent multi:
{
if (multi.Chains != null)
{
foreach (var chain in multi.Chains)
{
if (chain.Count == 0) return;
await ResolveIncomingChain(chain);
}
}
break;
}
}
}

Expand Down

0 comments on commit 188086e

Please sign in to comment.