mirror of https://github.com/usbharu/Hideout.git
parent
b3a5749b54
commit
0c3e69a7e4
|
@ -46,7 +46,11 @@ class Relationship(
|
||||||
|
|
||||||
fun unfollow() {
|
fun unfollow() {
|
||||||
following = false
|
following = false
|
||||||
addDomainEvent(RelationshipEventFactory(this).createEvent(RelationshipEvent.UNFOLLOW))
|
followRequesting = false
|
||||||
|
val relationshipEventFactory = RelationshipEventFactory(this)
|
||||||
|
addDomainEvent(relationshipEventFactory.createEvent(RelationshipEvent.UNFOLLOW))
|
||||||
|
addDomainEvent(relationshipEventFactory.createEvent(RelationshipEvent.UNFOLLOW_REQUEST))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun block() {
|
fun block() {
|
||||||
|
|
Loading…
Reference in New Issue