Fix reading reblog data only when presented and reblogged is status for signed in user not if status is a reblog

codemagic-setup
Hank Grabowski 2022-12-27 22:26:20 -05:00
rodzic d937914904
commit 36fbb38848
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -60,7 +60,7 @@ extension TimelineEntryMastodonExtensions on TimelineEntry {
late final String reshareAuthor;
late final String reshareAuthorId;
if (isReshare) {
if (json['reblog'] != null) {
final rebloggedUser =
ConnectionMastodonExtensions.fromJson(json['reblog']['account']);
connectionManager.addConnection(rebloggedUser);