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:
1 parent
5c885b0fd4
commit
68ed3d7796
1 file changed
+1
-1
@@ -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