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

twitter client now uses oauth and the stream API

This commit is contained in:
psyc://psyced.org/~lynX 2011-08-24 11:21:22 +02:00
parent c9b3d242a3
commit 5e593a951f
3 changed files with 10 additions and 6 deletions

View file

@ -226,7 +226,7 @@ varargs string content(closure cb, int force, int willbehave) {
if (fetched) {
if (force) {
funcall(cb, fetched, willbehave ? fheaders : copy(fheaders));
}
}
} else {
enqueue(ME, ({ cb, willbehave }));
}

View file

@ -14,6 +14,7 @@ int buffer_content(string data) {
return 1;
}
#if 0
disconnected(string data) {
P2(("%O got disconnected:\n%O\n", ME, data))
headers["_fetchtime"] = isotime(ctime(time()), 1);
@ -42,3 +43,5 @@ disconnected(string data) {
fetching = 0;
return 1; // presume this disc was expected
}
#endif