From 4071c20a0cbb4fc769602fda1694f486915d4710 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Tue, 29 Aug 2023 07:07:04 +0200 Subject: [PATCH] set version in app summary --- src/events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.go b/src/events.go index 3b1996d..a0b7244 100644 --- a/src/events.go +++ b/src/events.go @@ -169,7 +169,7 @@ func sendApp(rpc *deltachat.Rpc, accId deltachat.AccountId, chatId deltachat.Cha } metadata := cfg.GetMetadata() if metadata.Data != nil { - err := xdcrpc.SendPayload(rpc, accId, msgId, &xdcrpc.Response{Result: metadata}) + err := xdcrpc.SendUpdate(rpc, accId, msgId, xdcrpc.StatusUpdate[*xdcrpc.Response]{Payload: &xdcrpc.Response{Result: metadata}, Summary: xdcVersion}, "") if err != nil { logger.Error(err) }