Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / shared / avatars / resolve-user-avatar-url.js
blobfeb273babeb51a597a3a826c7e6f44e6c6d1a317
1 'use strict';
3 var resolveUserAvatarSrcSet = require('./resolve-user-avatar-srcset');
5 module.exports = function resolveUserAvatarUrl(user, size) {
6 var srcset = resolveUserAvatarSrcSet(user, size);
7 return srcset.src;
8 };