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 { ...@@ -142,7 +142,7 @@ public class RealmRoom extends RealmObject {
return Room.builder() return Room.builder()
.setId(_id) .setId(_id)
.setRoomId(rid) .setRoomId(rid)
.setName(name) .setName(name == null ? "" : name)
.setType(t) .setType(t)
.setOpen(open) .setOpen(open)
.setAlert(alert) .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