Fix broken account following, muting, blocking.
This commit is contained in:
parent
f717b6857f
commit
2f6b43779f
|
@ -402,8 +402,8 @@ processFollowEvent relationship ({ accountInfo } as model) =
|
||||||
|
|
||||||
accountRelationship =
|
accountRelationship =
|
||||||
case accountInfo.relationship of
|
case accountInfo.relationship of
|
||||||
Just relationship ->
|
Just accountRelationship ->
|
||||||
if relationship.id == relationship.id then
|
if accountRelationship.id == relationship.id then
|
||||||
Just { relationship | following = relationship.following }
|
Just { relationship | following = relationship.following }
|
||||||
else
|
else
|
||||||
accountInfo.relationship
|
accountInfo.relationship
|
||||||
|
@ -453,8 +453,8 @@ processMuteEvent account relationship ({ accountInfo } as model) =
|
||||||
|
|
||||||
accountRelationship =
|
accountRelationship =
|
||||||
case accountInfo.relationship of
|
case accountInfo.relationship of
|
||||||
Just relationship ->
|
Just accountRelationship ->
|
||||||
if relationship.id == relationship.id then
|
if accountRelationship.id == relationship.id then
|
||||||
Just { relationship | muting = relationship.muting }
|
Just { relationship | muting = relationship.muting }
|
||||||
else
|
else
|
||||||
accountInfo.relationship
|
accountInfo.relationship
|
||||||
|
@ -492,8 +492,8 @@ processBlockEvent account relationship ({ accountInfo } as model) =
|
||||||
|
|
||||||
accountRelationship =
|
accountRelationship =
|
||||||
case accountInfo.relationship of
|
case accountInfo.relationship of
|
||||||
Just relationship ->
|
Just accountRelationship ->
|
||||||
if relationship.id == relationship.id then
|
if accountRelationship.id == relationship.id then
|
||||||
Just { relationship | blocking = relationship.blocking }
|
Just { relationship | blocking = relationship.blocking }
|
||||||
else
|
else
|
||||||
accountInfo.relationship
|
accountInfo.relationship
|
||||||
|
|
Loading…
Reference in New Issue