aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src/service')
-rw-r--r--libdino/src/service/util.vala6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdino/src/service/util.vala b/libdino/src/service/util.vala
index 4f9b94ce..3cbb48d9 100644
--- a/libdino/src/service/util.vala
+++ b/libdino/src/service/util.vala
@@ -11,8 +11,9 @@ public class Util {
return Entities.Message.Type.GROUPCHAT;
case Conversation.Type.GROUPCHAT_PM:
return Entities.Message.Type.GROUPCHAT_PM;
+ default:
+ assert_not_reached();
}
- assert_not_reached();
}
public static Conversation.Type get_conversation_type_for_message(Message message) {
@@ -23,8 +24,9 @@ public class Util {
return Conversation.Type.GROUPCHAT;
case Entities.Message.Type.GROUPCHAT_PM:
return Conversation.Type.GROUPCHAT_PM;
+ default:
+ assert_not_reached();
}
- assert_not_reached();
}
}