remove unneeded variable that was shadowing another

This commit is contained in:
Ehren Kret 2023-02-13 11:03:06 -06:00
parent ad0dc54271
commit ace91b94fc

View File

@ -290,8 +290,7 @@ NS_ASSUME_NONNULL_BEGIN
if (!thread.isGroupThread) {
continue;
}
TSGroupThread *groupThread = (TSGroupThread *)thread;
if (![groupThread.groupModel.groupId isEqual:groupId]) {
if (![((TSGroupThread *)thread).groupModel.groupId isEqual:groupId]) {
continue;
}