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:
parent
c9b3d242a3
commit
5e593a951f
3 changed files with 10 additions and 6 deletions
|
@ -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 }));
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue