From 5bc7f28685d5d3d2d4a7bef08b5b0508c6ac3da3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 7 Jul 2021 10:06:59 +0100 Subject: [PATCH] Notifications about posts from particular accounts --- inbox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index cc61a70f3..8d9a03edd 100644 --- a/inbox.py +++ b/inbox.py @@ -2531,11 +2531,10 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, fromDomain, fromPort = \ getDomainFromActor(postJsonObject['actor']) fromDomainFull = getFullDomain(fromDomain, fromPort) - fromHandle = fromNickname + '@' + fromDomainFull if notifyWhenPersonPosts(baseDir, nickname, domain, fromNickname, fromDomainFull): postId = removeIdEnding(postJsonObject['id']) - _notifyPostArrival(baseDir, fromHandle, postId) + _notifyPostArrival(baseDir, handle, postId) # If this is a reply to a muted post then also mute it. # This enables you to ignore a threat that's getting boring