Commit 01dc03da authored by Leonardo Aramaki's avatar Leonardo Aramaki

Set default value to name property when building Room

parent fd84e9f4
......@@ -142,7 +142,7 @@ public class RealmRoom extends RealmObject {
return Room.builder()
.setId(_id)
.setRoomId(rid)
.setName(name)
.setName(name == null ? "" : name)
.setType(t)
.setOpen(open)
.setAlert(alert)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment