From 4761b1245e013c08960237bdc1ef159a0887e74d Mon Sep 17 00:00:00 2001 From: Samuel Hawksby-Robinson Date: Sun, 2 Jun 2024 22:53:56 +0100 Subject: [PATCH] chore(no-torrent)_: removed TorrentManager from checkIfIMemberOfCommunity --- protocol/messenger_communities.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/messenger_communities.go b/protocol/messenger_communities.go index 2b838743c..fee0d1383 100644 --- a/protocol/messenger_communities.go +++ b/protocol/messenger_communities.go @@ -3910,12 +3910,12 @@ func (m *Messenger) enableHistoryArchivesImportAfterDelay() { func (m *Messenger) checkIfIMemberOfCommunity(communityID types.HexBytes) error { community, err := m.communitiesManager.GetByID(communityID) if err != nil { - m.torrentManager.LogStdout("couldn't get community to import archives", zap.Error(err)) + m.logger.Error("couldn't get community to import archives", zap.Error(err)) return err } if !community.HasMember(&m.identity.PublicKey) { - m.torrentManager.LogStdout("can't import archives when user not a member of community") + m.logger.Error("can't import archives when user not a member of community") return ErrUserNotMember }