Removed old methods
This commit is contained in:
parent
ef57392834
commit
6430640ec7
2 changed files with 0 additions and 10 deletions
|
@ -46,7 +46,6 @@ async function broadcast_related_events(ev) {
|
|||
const ev = get_tag_event(tag)
|
||||
if (!ev)
|
||||
return evs
|
||||
insert_event_sorted(evs, ev) // for uniqueness
|
||||
return evs
|
||||
}, [])
|
||||
.forEach((ev, i) => {
|
||||
|
|
|
@ -30,19 +30,10 @@ function calculate_pow(ev) {
|
|||
log_warn("calculate_pow deprecated, use event_calculate_pow");
|
||||
return event_calculate_pow(ev);
|
||||
}
|
||||
function insert_event_sorted(evs, new_ev) {
|
||||
log_warn("insert_event_sorted deprecated, use events_insert_sorted");
|
||||
events_insert_sorted(evs, new_ev);
|
||||
}
|
||||
function can_reply(ev) {
|
||||
log_warn("can_reply is deprecated, use event_can_reply");
|
||||
return event_can_reply(ev);
|
||||
}
|
||||
function should_add_to_timeline(ev) {
|
||||
// TODO rename should_add_to_timeline to is_timeline_event
|
||||
log_warn("should_add_to_timeline is deprecated, use event_is_timeline");
|
||||
return event_is_timeline(ev);
|
||||
}
|
||||
function passes_spam_filter(contacts, ev, pow) {
|
||||
log_warn("passes_spam_filter deprecated, use event_is_spam");
|
||||
return !event_is_spam(ev, contacts, pow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue