mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-04-04 07:02:47 +02:00
Fixed "eblo = nil" error
This commit is contained in:
@@ -310,7 +310,7 @@ local function getSenderName(profiles, conversations, groups, peerID)
|
||||
return getEblo(groups, -peerID).name
|
||||
else
|
||||
local eblo = getEblo(profiles, peerID)
|
||||
return eblo.first_name .. " " .. eblo.last_name
|
||||
return eblo and (eblo.first_name .. " " .. eblo.last_name) or "N/A"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user