Bug 463271

Summary: Clicking account avatar/icon will open a blank user profile page
Product: [Applications] Tokodon Reporter: Gary Wang <wzc782970009>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gary Wang 2022-12-20 15:51:16 UTC
SUMMARY

When user get new follower, clicking the account avatar/icon of the new follower notification in "Notifications" page will open a blank user profile page instead of the proper user profile page

STEPS TO REPRODUCE
1. Get a new follower
2. Open Notification page, see the "Username followed you" message (a FollowDelegate)
3. Click the user icon/avatar in this FollowDelegate

OBSERVED RESULT

An empty profile page will be opened instead of the user you clicked.

EXPECTED RESULT

Open the profile page of the user who follows you

SOFTWARE/OS VERSIONS
Tokodon master version (currently 707fbaf3c290b4c6db4b67d28991f5adfe02e314)

ADDITIONAL INFORMATION
Let me know if you need any additional info.
Comment 1 Carl Schwan 2022-12-23 09:37:08 UTC
Git commit 716f78e2269f217df0098057049db3972b851694 by Carl Schwan.
Committed on 23/12/2022 at 09:36.
Pushed by carlschwan into branch 'master'.

Fix accountModel returned by follow activity

Signed-off-by: Carl Schwan <carl@carlschwan.eu>

M  +6    -0    src/notificationmodel.cpp

https://invent.kde.org/network/tokodon/commit/716f78e2269f217df0098057049db3972b851694