14 lines
479 B
C#
14 lines
479 B
C#
using decePubClient.Models.Mastodon;
|
|||
|
|
|
||
|
|
namespace decePubClient.Models;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The server's custom emoji its picker offers (/api/v1/custom_emojis), as EmojiService last read them: kept in
|
||
|
|
/// localStorage under its type name and used for a day, then read again (at once after an administrator changes one in
|
||
|
|
/// this client).
|
||
|
|
/// </summary>
|
||
|
|
public class CustomEmojiCache
|
||
|
|
{
|
||
|
|
public DateTime FetchedAt { get; set; }
|
||
|
|
public List<CustomEmoji> Emojis { get; set; } = [];
|
||
|
|
}
|