Fix nip10 thread incompatibility for clients that add more than one reply tag
Changelog-Fixed: Fix thread incompatibility for clients that add more than one reply tag
This commit is contained in:
@@ -123,7 +123,7 @@ class EventCache {
|
||||
var ev = event
|
||||
|
||||
while true {
|
||||
guard let direct_reply = ev.direct_replies(nil).first else {
|
||||
guard let direct_reply = ev.direct_replies(nil).last else {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user