ded0b83151
FossilOrigin-Name: 8766275cac121ced2142c9dee80f2c21a0337e9eb65501961807aba8fca0f252
17 lines
358 B
C
17 lines
358 B
C
/*
|
|
* Treebird - Lightweight frontend for Pleroma
|
|
*
|
|
* Licensed under the BSD 3-Clause License
|
|
*/
|
|
|
|
#include "../config.h"
|
|
#include "helpers.h"
|
|
|
|
void set_mstdnt_args(struct mstdnt_args* args, struct session* ssn)
|
|
{
|
|
args->url = get_instance(ssn);
|
|
args->token = get_token(ssn);
|
|
args->flags = MSTDNT_FLAG_NO_URI_SANITIZE | config_library_flags;
|
|
}
|
|
|