mirror of
https://github.com/status-im/status-console-client.git
synced 2025-02-25 00:58:16 +00:00
Topics are not added to history request
This commit is contained in:
parent
d46665edc9
commit
cfc4d5a5c5
@ -147,6 +147,13 @@ func (w *ProtocolWhisperAdapter) Request(ctx context.Context, params protocol.Re
|
||||
To: params.To,
|
||||
Limit: params.Limit,
|
||||
}
|
||||
for _, chat := range params.Chats {
|
||||
topic, err := ToTopic(chat.ChatName)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
transOptions.Topics = append(transOptions.Topics, topic)
|
||||
}
|
||||
now := time.Now()
|
||||
err := w.transport.Request(ctx, transOptions)
|
||||
log.Printf("[ProtocolWhisperAdapter::Request] took %s", time.Since(now))
|
||||
|
Loading…
x
Reference in New Issue
Block a user