mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 11:09:21 +01:00
Fixed "eblo = nil" error
This commit is contained in:
parent
80dbb505a2
commit
df6ce99a03
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user