2019-02-08 17:40:13 +01:00
|
|
|
// Matrix Construct
|
|
|
|
//
|
|
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
|
|
|
// Copyright (C) 2016-2018 Jason Volk <jason@zemos.net>
|
|
|
|
//
|
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
|
|
// copyright notice and this permission notice is present in all copies. The
|
|
|
|
// full license for this software is available in the LICENSE file.
|
|
|
|
|
|
|
|
ircd::mapi::header
|
|
|
|
IRCD_MODULE
|
|
|
|
{
|
|
|
|
"Client Sync :Device One Time Keys Count"
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace ircd::m::sync
|
|
|
|
{
|
2019-02-24 20:59:53 +01:00
|
|
|
static bool device_one_time_keys_count_polylog(data &);
|
|
|
|
static bool device_one_time_keys_count_linear(data &);
|
2019-02-08 17:40:13 +01:00
|
|
|
|
|
|
|
extern item device_one_time_keys_count;
|
|
|
|
}
|
|
|
|
|
|
|
|
decltype(ircd::m::sync::device_one_time_keys_count)
|
|
|
|
ircd::m::sync::device_one_time_keys_count
|
|
|
|
{
|
|
|
|
"device_one_time_keys_count",
|
|
|
|
device_one_time_keys_count_polylog,
|
|
|
|
device_one_time_keys_count_linear
|
|
|
|
};
|
|
|
|
|
2019-02-24 20:59:53 +01:00
|
|
|
bool
|
2019-02-08 17:40:13 +01:00
|
|
|
ircd::m::sync::device_one_time_keys_count_linear(data &data)
|
|
|
|
{
|
2019-02-24 20:59:53 +01:00
|
|
|
return false;
|
2019-02-08 17:40:13 +01:00
|
|
|
}
|
|
|
|
|
2019-02-24 20:59:53 +01:00
|
|
|
bool
|
2019-02-08 17:40:13 +01:00
|
|
|
ircd::m::sync::device_one_time_keys_count_polylog(data &data)
|
|
|
|
{
|
2019-02-24 20:59:53 +01:00
|
|
|
return false;
|
2019-02-08 17:40:13 +01:00
|
|
|
}
|