mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-14 00:27:40 +00:00
parent
5dc60f5782
commit
0302b7972e
@ -319,7 +319,13 @@ QtObject:
|
|||||||
if messageId.len == 0:
|
if messageId.len == 0:
|
||||||
return
|
return
|
||||||
for i in 0 ..< self.items.len:
|
for i in 0 ..< self.items.len:
|
||||||
if(self.items[i].id == messageId):
|
let item = self.items[i]
|
||||||
|
if(item.id == messageId):
|
||||||
|
result = i
|
||||||
|
return
|
||||||
|
elif item.albumId != "":
|
||||||
|
for j in 0 ..< item.albumMessageIds.len:
|
||||||
|
if(item.albumMessageIds[j] == messageId):
|
||||||
result = i
|
result = i
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user