Example #1
0
 public String getRemote_name() {
   if (remote_name == null) {
     if (!UserDao.getInstance().getUser().getId().equals(sender_id)) {
       return sender_name;
     }
   }
   return remote_name;
 }
Example #2
0
 public boolean isSelf() {
   return UserDao.getInstance().getUser().getId().equals(sender_id);
 }