projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ada0353
)
RooTicket.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 31 Oct 2018 05:31:09 +0000
(13:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 31 Oct 2018 05:31:09 +0000
(13:31 +0800)
RooTicket.vala
patch
|
blob
|
history
diff --git
a/RooTicket.vala
b/RooTicket.vala
index
a9237da
..
3b8271f
100644
(file)
--- a/
RooTicket.vala
+++ b/
RooTicket.vala
@@
-44,7
+44,13
@@
class RooTicket : Object
return ret;
}
return ret;
}
-
+ public string usernameLocal()
+ {
+ // git username is an email addres... - so this reutrns the local part..
+ //?? assumes that all members are under the same domain... normally the case......
+ return RooTicket.singleton().username.split('@')[0];
+
+ }
public void addTicket(Json.Object t)
public void addTicket(Json.Object t)