1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

fix _status_description_time and jCard

This commit is contained in:
psyc://psyced.org/~lynX 2009-11-04 17:41:47 +01:00
parent 0221131dc3
commit 9df03c38aa
5 changed files with 6 additions and 5 deletions

View file

@ -9,7 +9,8 @@ int msg(string source, string mc, string data,
mapping vars, int showingLog, string target) { mapping vars, int showingLog, string target) {
mixed t; mixed t;
switch (mc){ switch (mc) {
case "_status_description_time":
case "_status_person_away": case "_status_person_away":
case "_status_person_present": case "_status_person_present":
case "_status_person_present_implied": case "_status_person_present_implied":

View file

@ -129,6 +129,7 @@ msg(source, mc, data, mapping vars, showingLog) {
mc = "_notice_place_leave"; mc = "_notice_place_leave";
} }
switch (mc) { switch (mc) {
case "_status_description_time":
case "_status_person_present": case "_status_person_present":
case "_status_person_present_implied": case "_status_person_present_implied":
case "_status_person_absent": case "_status_person_absent":

View file

@ -71,7 +71,7 @@
<tr><td>_flag_uniform_verbatim</td><td>verbatimuniform</td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td>_flag_uniform_verbatim</td><td>verbatimuniform</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>_flag_visibility</td><td>visibility</td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td>_flag_visibility</td><td>visibility</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>_gender</td><td>sex</td><td>gender</td><td></td><td></td><td></td><td>gender</td></tr> <tr><td>_gender</td><td>sex</td><td>gender</td><td></td><td></td><td></td><td>gender</td></tr>
<tr><td>_identification</td><td>id</td><td>psyc_id</td><td></td><td>PSYCID</td><td></td><td>psycID</td></tr> <tr><td>_identification</td><td>id</td><td>psyc_id</td><td></td><td></td><td></td><td>psycID</td></tr>
<tr><td>_identification_other</td><td>otherid</td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td>_identification_other</td><td>otherid</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>_identification_scheme_AIM</td><td>aimid</td><td>aim_id</td><td></td><td></td><td></td><td>aimChatID</td></tr> <tr><td>_identification_scheme_AIM</td><td>aimid</td><td>aim_id</td><td></td><td></td><td></td><td>aimChatID</td></tr>
<tr><td>_identification_scheme_ICQ</td><td>icqid</td><td>icq_id</td><td></td><td></td><td></td><td>icqChatID</td></tr> <tr><td>_identification_scheme_ICQ</td><td>icqid</td><td>icq_id</td><td></td><td></td><td></td><td>icqChatID</td></tr>

View file

@ -94,7 +94,6 @@ volatile mapping psyc2jCard = ([
"_affiliation" : "<ORG><ORGNAME>%s</ORGNAME></ORG>", "_affiliation" : "<ORG><ORGNAME>%s</ORGNAME></ORG>",
"_date_birth" : "<BDAY>%s</BDAY>", "_date_birth" : "<BDAY>%s</BDAY>",
"_description_public" : "<DESC>%s</DESC>", "_description_public" : "<DESC>%s</DESC>",
"_identification" : "<PSYCID>%s</PSYCID>",
"_identification_scheme_XMPP" : "<JABBERID>%s</JABBERID>", "_identification_scheme_XMPP" : "<JABBERID>%s</JABBERID>",
"_identification_scheme_mailto" : "<EMAIL><USERID>%s</USERID></EMAIL>", "_identification_scheme_mailto" : "<EMAIL><USERID>%s</USERID></EMAIL>",
"_name_family" : "<N><FAMILY>%s</FAMILY></N>", "_name_family" : "<N><FAMILY>%s</FAMILY></N>",
@ -133,7 +132,6 @@ volatile mapping jCard2psyc = ([
"TEL/NUMBER" : "_contact_telephone", "TEL/NUMBER" : "_contact_telephone",
"BDAY" : "_date_birth", "BDAY" : "_date_birth",
"DESC" : "_description_public", "DESC" : "_description_public",
"PSYCID" : "_identification",
"JABBERID" : "_identification_scheme_XMPP", "JABBERID" : "_identification_scheme_XMPP",
"EMAIL/USERID" : "_identification_scheme_mailto", "EMAIL/USERID" : "_identification_scheme_mailto",
"N/FAMILY" : "_name_family", "N/FAMILY" : "_name_family",

View file

@ -377,7 +377,8 @@ FOAF icqChatID
PSYC _identification PSYC _identification
jProf psyc_id jProf psyc_id
jCard PSYCID # I'm afraid adding a PSYCID field will not be well-recepted by some apps
#jCard PSYCID
FOAF psycID FOAF psycID
PSYC _identification_other PSYC _identification_other