Skip to content

Commit

Permalink
disabled teiserver command s.user.list_relationships until fully impl…
Browse files Browse the repository at this point in the history
…emented server side (teiserver)
  • Loading branch information
FIr3baL committed Oct 27, 2023
1 parent 23cc93f commit fd8ccbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/liblobby/lobby/interface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,10 @@ local function buildDisregardList(ignores, avoids, blocks)
end

function Interface:_On_s_user_list_relationships(data)
if true then
Spring.Echo("Disabled s.user.list_relationships for now until full implementation done server side...")
return
end
local relationships = Spring.Utilities.json.decode(Spring.Utilities.Base64Decode(data))

if not (relationships and relationships.friends and relationships.follows and relationships.ignores and relationships.avoids and relationships.blocks) then
Expand Down

0 comments on commit fd8ccbb

Please sign in to comment.