2019-05-31 15:42:01 -07:00
|
|
|
export function getSearchResultsProps(attributes: any) {
|
2019-01-14 13:49:58 -08:00
|
|
|
// @ts-ignore
|
2019-05-31 15:42:01 -07:00
|
|
|
const model = new window.Whisper.Message(attributes);
|
|
|
|
|
|
|
|
return model.getPropsForSearchResult();
|
|
|
|
}
|
|
|
|
|
|
|
|
export function getBubbleProps(attributes: any) {
|
|
|
|
// @ts-ignore
|
|
|
|
const model = new window.Whisper.Message(attributes);
|
|
|
|
|
|
|
|
return model.getPropsForBubble();
|
2019-01-14 13:49:58 -08:00
|
|
|
}
|
2019-10-17 11:22:07 -07:00
|
|
|
|
|
|
|
export function showSettings() {
|
|
|
|
// @ts-ignore
|
|
|
|
window.showSettings();
|
|
|
|
}
|