Tusker/Tusker/Extensions/Mastodon+Equatable.swift

22 lines
429 B
Swift
Raw Normal View History

2018-08-28 18:29:06 +00:00
//
// Status+Equatable.swift
// Tusker
//
// Created by Shadowfacts on 8/28/18.
// Copyright © 2018 Shadowfacts. All rights reserved.
//
2018-09-11 14:52:21 +00:00
import Pachyderm
2018-08-28 18:29:06 +00:00
extension Status: Equatable {
public static func ==(lhs: Status, rhs: Status) -> Bool {
return lhs.id == rhs.id
}
}
2018-08-28 20:22:49 +00:00
extension Account: Equatable {
public static func ==(lhs: Account, rhs: Account) -> Bool {
return lhs.id == rhs.id
}
}