mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-24 20:48:50 +00:00
chore: discard instead of echo'ing output of callPrivateRPC("requestMessages", ...)
This commit is contained in:
parent
0882ba18af
commit
e3dc0469e2
@ -71,7 +71,7 @@ proc requestMessages*(topics: seq[string], symKeyID: string, peer: string, numbe
|
||||
if toTimestamp != 0:
|
||||
toValue = toTimestamp
|
||||
|
||||
echo callPrivateRPC("requestMessages".prefix, %* [
|
||||
discard callPrivateRPC("requestMessages".prefix, %* [
|
||||
{
|
||||
"topics": topics,
|
||||
"mailServerPeer": peer,
|
||||
@ -85,7 +85,7 @@ proc requestMessages*(topics: seq[string], symKeyID: string, peer: string, numbe
|
||||
}
|
||||
])
|
||||
|
||||
proc getMailserverTopics*(): string =
|
||||
proc getMailserverTopics*(): string =
|
||||
return callPrivateRPC("mailservers_getMailserverTopics", %*[])
|
||||
|
||||
proc addMailserverTopic*(topic: MailserverTopic): string =
|
||||
|
Loading…
x
Reference in New Issue
Block a user