aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/util.vala
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/module/util.vala')
-rw-r--r--xmpp-vala/src/module/util.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmpp-vala/src/module/util.vala b/xmpp-vala/src/module/util.vala
index 65a9b261..7051307a 100644
--- a/xmpp-vala/src/module/util.vala
+++ b/xmpp-vala/src/module/util.vala
@@ -1,13 +1,13 @@
namespace Xmpp {
- string? get_bare_jid(string jid) {
+ public string? get_bare_jid(string jid) {
return jid.split("/")[0];
}
- bool is_bare_jid(string jid) {
+ public bool is_bare_jid(string jid) {
return !jid.contains("/");
}
- string? get_resource_part(string jid) {
+ public string? get_resource_part(string jid) {
return jid.split("/")[1];
}