mirror of https://codeberg.org/cage/tinmop/
- substituted default values for 'fetch-remote-status'.
This commit is contained in:
parent
ebbee28430
commit
1f14329852
|
@ -501,7 +501,10 @@ become an emty string (\"\")
|
||||||
:limit limit
|
:limit limit
|
||||||
:min-id max-id))))
|
:min-id max-id))))
|
||||||
|
|
||||||
(defun-api-call fetch-remote-status (status-id &optional folder timeline)
|
(defun-api-call fetch-remote-status (status-id
|
||||||
|
&optional
|
||||||
|
(folder db:+default-status-folder+)
|
||||||
|
(timeline db:+local-timeline+))
|
||||||
"Fetch a single status identified by status-id and generate an event
|
"Fetch a single status identified by status-id and generate an event
|
||||||
`fetch-remote-status-event' that, in turn will save the status to the
|
`fetch-remote-status-event' that, in turn will save the status to the
|
||||||
database."
|
database."
|
||||||
|
|
|
@ -558,11 +558,11 @@
|
||||||
|
|
||||||
(defclass fetch-remote-status-event (program-event)
|
(defclass fetch-remote-status-event (program-event)
|
||||||
((timeline
|
((timeline
|
||||||
:initform nil
|
:initform db:+local-timeline+
|
||||||
:initarg :timeline
|
:initarg :timeline
|
||||||
:accessor timeline)
|
:accessor timeline)
|
||||||
(folder
|
(folder
|
||||||
:initform nil
|
:initform db:+default-status-folder+
|
||||||
:initarg :folder
|
:initarg :folder
|
||||||
:accessor folder)))
|
:accessor folder)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue